task :default => [:test]

desc 'Run tests.'
task :test  => [:clean] do
    system "rspec --color --format documentation  spec"
end

desc 'Remove any temporary products.'
task :clean do
    system 'find spec -name "*.db" | xargs rm'
end